@import "../../variable";

$bottom-height: 138px;
$top-height: 60px;
.title {
  height: $top-height;
  line-height: $top-height;
  background: $sub-color;
  display: flex;
  justify-content: space-between;
  font-size: $middle-font;
}

.title-right {
  color: $grey;
}

.title-right-left {
  color: $main-color;
}

.content {
  height: calc(100vh - #{$bottom-height} - #{$top-height} - 52px);
  box-sizing: border-box;
}

.swiper {
  height: 100%;
}

.swiper-item {
  overflow-y: auto;
  height: 100%;
}

.footer {
  height: $bottom-height;
  display: flex;
  font-size: $middle-font;
  color: $grey;
  justify-content: space-around;
  border-top: 1px solid $sub-color;
  padding-top: 20px;
}

.footer-item {
  width: 180px;
  display: flex;
  flex-direction: column;
  //justify-content: center;
  align-items: center;
  font-size: $middle-font;
}

// 题目
.subject-title {
  height: 60px;
  line-height: 60px;
  color: $black;
  font-weight: bold;
}

.subject-content {

}

.subject-answer {
  margin-top: 30px;
}

.subject-option {
  height: 75px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  color: $grey;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px dashed $grey;
}

// 选择色
.subject-option-select {
  color: $white;
  background-color: $yellow;
  border: 1px solid $yellow;
}

// 正确色
.subject-option-right {
  color: $white;
  background-color: $green;
  border: 1px solid $green;
}

// 错误色
.subject-option-wrong {
  color: $white;
  background-color: $red;
  border: 1px solid $red;
}

.subject-option-l {
  width: 50px;
  line-height: 45px;
  height: 50px;
  //border-radius: 50px;
  //border: 1px solid $black;
  text-align: center;
  margin-right: 20px;
}


// 解析
.subject-analysis {
  border: 1px dashed $main-color;
  border-radius: 12px;
}

.subject-analysis-title {
  height: 100px;
  display: flex;
  //background-color: #52c41a;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed $main-color;
  padding: 0 20px;
}

.subject-analysis-title-r {
  //background-color: #faad14;
  //width: 320px;
  width: 140px;
  display: flex;
}


.subject-analysis-subtitle {
  height: 140px;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  border-bottom: 1px dashed $main-color;
}

.subject-analysis-subtitle-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: $middle-font;
  color: $grey;
  flex: 1;
}

.subject-analysis-subtitle-box-t {
  font-size: $big-font;
  color: $green;
  font-weight: bold;
}

.subject-analysis-subtitle-d {
  width: 2px;
  background-color: $grey;
}

.subject-analysis-content {
  padding: 20px;
  color: $grey;
}

.subject-analysis-content-title {
  color: $main-color;
  margin-bottom: 20px;
}

// 正确或错误
.tag-right{
  width: 180px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 30px;
  background-color: $green;
  color: $white;
  font-size: $big-font;
  font-weight: bold;
}
.tag-wrong{
  @extend .tag-right;
  background-color: $red;
}
.count-down{
  font-size: $middle-font;
  color: $grey;
  margin-left: 16px;
}

